<table class="table table-hover">
	<thead>
		<tr>
			<th>ID</th>
			<volist name="dynaForm.config" id="vo">
				<th>{$vo.varTitle}</th>
			</volist>
			<th>审核</th>
			<th>状态</th>
			<th>操作</th>
		</tr>
	</thead>
	<tbody>
		<volist name="dynaFormDataLists" id="vo">
			<tr>
				<td>{$vo.id}</td>
				<volist name="dynaForm.config" id="vo1">
					<td>{$vo['data'][$vo1['varName']]}</td>
				</volist>
				<td>
				<select name="verify" data-id="{$vo['id']}">{$vo['verifyOptions']}</select>
				</td>
				<td class="status">{$vo["status"]?"已读":"未读"}</td>
				<td>
					<a class="btn btn-info btn-xs actionds" data-action-id="{$vo.id}" data-action-txt="恢复中……" data-action-url="__CONTROLLER__/restore">恢复</a>
					<a class="btn btn-danger btn-xs actionds" data-action-id="{$vo.id}" data-action-txt="彻底删除中……" data-action-delete="yes" data-action-url="__CONTROLLER__/delete">彻底删除</a>
				</td>
			</tr>
		</volist>
	</tbody>
</table>
<div class="pagination">{$pagination}</div>
<script type="text/javascript">
$(function(){
	$("select[name='verify']").change(function(){
		$.post("__CONTROLLER__/setVerifyStatus", {"id":$(this).attr('data-id'), "verify":$(this).val()}, function(data) {
			 $().alertMsg ( {type: "success", msg: data.msg} );
		});
	});	
});
</script>
